package kr.pe.osdev.dao;

import java.util.List;

import kr.pe.osdev.domain.ExaminationQuestion;
import kr.pe.osdev.domain.Question;

import org.springframework.dao.DataAccessException;

public interface ExaminationQuestionDao {
    public ExaminationQuestion add(ExaminationQuestion examinationQuestion) throws DataAccessException;
    public ExaminationQuestion remove(ExaminationQuestion examinationQuestion) throws DataAccessException;
    public List<ExaminationQuestion> findList() throws DataAccessException;
    public ExaminationQuestion find(ExaminationQuestion examinationQuestion) throws DataAccessException;
    public ExaminationQuestion findByQuestion(Question question) throws DataAccessException;
    public int count() throws DataAccessException;
    public int countByQuestion(Question question) throws DataAccessException;
}